package edu.sctu.lab03;

import java.io.IOException;
import java.io.PrintWriter;

/**
 * Created by Administrator on 2018/5/28.
 */
public class IndexServlet extends HttpServlet{
    @Override
    protected void doGet(HttpServletRequest request,HttpServletResponse response)
        throws  ServletException,IOException{
        PrintWriter out=response.getWriter();
        out.write("<h1>hello,servlet!</h1>");

    }
}
